home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / gdb-4.5 / dist / gdb / tm-hp300bsd.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-11-07  |  1.9 KB  |  56 lines

  1. /* Parameters for target machine Hewlett-Packard 9000/300, running bsd.
  2.    Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc.
  3.  
  4. This file is part of GDB.
  5.  
  6. This program is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2 of the License, or
  9. (at your option) any later version.
  10.  
  11. This program is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with this program; if not, write to the Free Software
  18. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. /*
  21.  * Configuration file for HP9000/300 series machine running
  22.  * University of Utah's 4.3bsd port.  This is NOT for HP-UX.
  23.  * Problems to hpbsd-bugs@cs.utah.edu
  24.  */
  25.  
  26. #define HAVE_68881
  27.  
  28. /* Define BPT_VECTOR if it is different than the default.
  29.    This is the vector number used by traps to indicate a breakpoint. */
  30.  
  31. #define BPT_VECTOR 0x2
  32.  
  33. /* Define this if the C compiler puts an underscore at the front
  34.    of external names before giving them to the linker.  */
  35.  
  36. #define NAMES_HAVE_UNDERSCORE
  37.  
  38. #define TARGET_NBPG 4096
  39. #define TARGET_UPAGES 3
  40.  
  41. /* On the HP300, sigtramp is in the u area.  Gak!  User struct is not
  42.    mapped to the same virtual address in user/kernel address space
  43.    (hence STACK_END_ADDR as opposed to KERNEL_U_ADDR).  This tests
  44.    for the whole u area, since we don't necessarily have hp300bsd
  45.    include files around.  */
  46. #define IN_SIGTRAMP(pc, name) \
  47.   ((pc) >= STACK_END_ADDR   \
  48.    && (pc) < STACK_END_ADDR + TARGET_UPAGES * TARGET_NBPG \
  49.    )
  50.  
  51. /* Address of end of stack space.  */
  52.  
  53. #define STACK_END_ADDR 0xfff00000
  54.  
  55. #include "tm-68k.h"
  56.